package com.hqs.listener.view;

import android.content.Context;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.hqs.listener.R;

/**
 * Created by super on 2017/11/14.
 */

public class FileListItemView extends LinearLayout {

    public TextView tvTitle;

    public FileListItemView(Context context) {
        super(context);
    }

    public FileListItemView(Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
    }

    public void init(){
        tvTitle = findViewById(R.id.tvTitle);
    }

    public void setTitle(String title){
        tvTitle.setText(title);
    }
}
